package good;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

import basic.LinkedList;

public class ArrayDemo {
	private static Integer i=1;
	private static int j=1;
	public static void main(String[] args) throws Exception {
		ArrayList<String> list=new ArrayList<String>();
		list.add("good");
		ArrayList<String> list2=(ArrayList<String>) list.clone();
		list.add("better");
		System.out.println(list);
		System.out.println(list2);
		System.out.println(i*2);
		System.out.println(j*2);
		throw new Exception("gppd");
	}
}
